<template>
  <a href="javascript:;" class="add u-icn" title="添加" @mouseup="add(data)"></a>
</template>

<script>
import addPlayListMixin from "@/baseFnMixin/playlist/addPlayListMixin.js";
export default {
  name: "AddIcon",
  props: { data: { type: Object } },
  setup() {
    const add = addPlayListMixin();
    return {
      add,
    };
  },
};
</script>

<style scoped lang="less">
.add {
  float: left;
  margin: 2px 6px 0 0;
  width: 17px;
  height: 17px;
  background-position: 0 -700px;
}
</style>
